package it.virtuscarroccio.com.dao.impl;

import it.virtuscarroccio.com.dao.CustomTeamDAO;
import it.virtuscarroccio.com.model.Team;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class CustomTeamDAOImpl extends SqlMapClientDaoSupport implements CustomTeamDAO  {
		
		public CustomTeamDAOImpl() {
			super();
		}

		@SuppressWarnings("unchecked")
		public List<Team> getTeamsByCurrentSeason() {
			return (List<Team>) getSqlMapClientTemplate().queryForList("custom_team.getTeamsByCurrentSeason", null);
		}
		
		
		
		

}